﻿#ifndef HTTPSERVICE_H
#define HTTPSERVICE_H

#include <QObject>
#include <httplistener.h>
#include <httpsessionstore.h>
using namespace stefanfrings;

class HttpService : public QObject
{
    Q_OBJECT
public:
    explicit HttpService(QObject *parent = nullptr);
    ~HttpService();
private:
    void open();
    void close();
private:
    HttpSessionStore *httpSessionStore;
    HttpListener *httpListener;
};

#endif // HTTPSERVICE_H
